package gamagora.game.world.maps.game
{
	import gamagora.game.world.maps.OSMap;
	import gamagora.game.entity.*;

	public class OSMap24 extends OSMap
	{
		public function OSMap24()
		{
			super();

			var ground:OSGround = new OSGround(360, 760, 180, 20, -45, false);
			ground.setBorders(true, true);
			addBackground(ground);

			ground = new OSGround(0, 880, 200, 200, 0, false);
			ground.setNoErosionDown([90, 91, 92, 93, 94, 95, 96, 97, 98, 99]);
			ground.setNoErosionLeft([0, 10, 20, 30, 40, 50, 60, 70, 80, 90]);
			ground.setNoErosionRight([9, 19, 29, 39, 49, 59, 69, 79, 89, 99]);
			ground.erode();
			add(ground);

			ground = new OSGround(200, 820, 180, 260, 0, false);
			ground.setNoErosionDown([108, 109, 110, 111, 112, 113, 114, 115, 116]);
			ground.setNoErosionLeft([27, 36, 45, 54, 63, 72, 81, 90, 99, 108]);
			ground.setNoErosionRight([8]);
			ground.erode();
			add(ground);

			ground = new OSGround(640, 580, 320, 500, 0, false);
			ground.setNoErosionDown([384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399]);
			ground.setNoErosionLeft([0]);
			ground.setNoErosionRight([15, 31, 47, 63, 79, 95, 111, 127, 143, 159, 175, 191, 207, 223, 239, 255, 271, 287, 303, 319, 335, 351, 367, 383, 399]);
			ground.erode();
			add(ground);

			ground = new OSGround(480, 640, 180, 20, -45, false);
			ground.setBorders(true, true);
			addForeground(ground);

		}
	}
}
